<!DOCTYPE html>
<html>
<head>
    <title>Supply</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link  href="<?php echo base_url();?>css/admin.css" rel="stylesheet" type="text/css" />
     
	<script src="<?php echo base_url();?>js/jquery/jquery_tools.js"></script>

</head>
<body>

 <div id="contentright">
        <div id="search">
          <div id="searchblank">
            <div id="searchinput">
             Welcome, admin
            </div>
          
            <div id="advancesearch"><a href="#" class="advancesearch">Logout</a></div>
          </div>
        </div>
        </div>
    <div id="main">
       <?php 
        $menu['nowmenu'] = 'supplies';
        $this->load->view('common/divheader',$menu);
        ?>
        <div id="middle">
        <div id="breadcrumbs"><a href="dashboard.html">Dashboard</a>/ Supplies/ Supply payment</div>
            <?php $this->load->view('manager/divleftmenu');?>
            <div id="center-column">
                <div class="top-bar">
                    
                    <h1>Supply payment</h1>
                    
              </div>
                
             <form action="<?php echo site_url('manager/savesupplypayment');?>" method="post" id="myform">
              <div class="table">
                  <table class="listing form" cellpadding="0" cellspacing="0">
                        <tr>
                            <th class="full" colspan="2">Payment form</th>
                        </tr>
                        <tr>
                            <td width="172"><strong>จ่ายให้ลาน</strong></td>
                            <td>  <p>
                              <select name="pos">
							<?php 
							foreach ($pos_option as $eachpos):
							?>
								<option value="<?=$eachpos['posid'];?>" ><?=$eachpos['posname'];?></option>

							<?php 
							endforeach;
							?>
					</select>
                </p></td>
                        </tr>
                        <tr>
                            <td><strong>จำนวนเงิน</strong></td>
                            <td><input type="number" name="money" required="required" /></td>
                        </tr>
                        <tr>
                            <td><strong>วิธีการจ่ายเงิน</strong></td>
                            <td>
                              <select name="paymenttype">
                    <option>เงินสด</option>
                    <option>เช็คสั่งจ่าย</option>
                    <option>โอนเงินผ่านธนาคาร</option>
                  </select></td>
                        </tr>
                        <tr>
                            <td><strong>ธนาคาร</strong></td>
                            <td> <select name="bankname">
                    <option>กรุงไทย</option>
                    <option>กสิการไทย</option>
                    <option>กรุงเทพ</option>
                  </select></td>
                        </tr>
                    </table>
                </div>
                <button type="submit">Submit form</button>
                </form>
               
            </div>
            <div id="right-column">
                <strong class="h">Quick Link</strong>
                <div class="box">This is your admin home page. It will give you access to all things within the back end system that you will need to facilitate a smooth operation.</div>
            </div>
        </div>
        <div id="footer"><p>ALL RIGHTS RESERVED 2012 <a href="http://www.ubonbioethanol.com">UBON BIO ETHANOL CO., LTD.</a><br>Developed by DASH CO., LTD (2011-2012).  </p></div>
    </div>
     <script>
$("#myform").validator();
</script>
</body>
</html>